#!/usr/bin/python3.8.9
# -*- coding: utf-8 -*-

# @Author  : Tina Yu
# @Time    : 2022-5-4 17:26
import genson as SchemaBuilder

builder = SchemaBuilder()
builder.add_object({"a": 1, "b": "aaaa", "c": "", "d": None})
builder.add_object({"a": "1", "b": "bbb", "c": 1})
print(builder.to_schema())
print(builder.to_json(indent=2))
